package simulation;

public class HostRequestedDiagnostic {

	Integer hostId;
	String chunkData;
	String chunkHash;
	Boolean answered;
	
	/**
	 * Constructor.
	 * @param id Receives the id of host that have received a packet request to be diagnosed
	 */
	public HostRequestedDiagnostic(Integer hostId){
		this.setHostId(hostId);
		this.setAnswered(false);
	}
	
	public Integer getHostId() {
		return hostId;
	}
	public void setHostId(Integer hostId) {
		this.hostId = hostId;
	}
	public String getChunkData() {
		return chunkData;
	}
	public void setChunkData(String chunkData) {
		this.chunkData = chunkData;
	}
	public String getChunkHash() {
		return chunkHash;
	}
	public void setChunkHash(String chunkHash) {
		this.chunkHash = chunkHash;
	}
	public Boolean isAnswered() {
		return answered;
	}
	public void setAnswered(Boolean answered) {
		this.answered = answered;
	}
}
